package com.itheima.health.service;

import com.itheima.health.pojo.OrderSetting;

import java.util.List;

public interface OrderSettingService {
    /**
     * @Author: 位帅帅
     * @Date: 18:05 2021/1/9
     * @Params: [year, month]
     * @RerurnType: java.util.List<com.itheima.health.pojo.OrderSetting>
     * @Description: 查询预约数据
    */
    List<OrderSetting> findByMonth(Integer year, Integer month);

    /**
     * @Author: 位帅帅
     * @Date: 19:49 2021/1/9
     * @Params: [orderSettingList]
     * @RerurnType: void
     * @Description: 批量上传设置预约人数
    */
    void add(List<OrderSetting> orderSettingList);

    /**
     * @Author: 位帅帅
     * @Date: 12:53 2021/1/10
     * @Params: [orderSetting]
     * @RerurnType: void
     * @Description: 编辑预约数量
    */
    void editNumberByDate(OrderSetting orderSetting);
}
